
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
   <a href="javascript:;" onclick="skip()">点我</a>
   <div id="father">
       <ul class="parent">
           <li class="child">第1一</li>
           <li class="child">第2sa</li>
           <li class="child">第3dfsaf</li>
           <li class="child">第4一asdf</li>
           <li class="child">第5dafs一</li>
           <li class="child">第6一ewee</li>
       </ul>
   </div>
</body>
<script>
    function skip () {
        console.log('skip_>');
        window.open('https://www.baidu.com','target');
        // window.open ('https://www.facebook.com/v2.8/dialog/oauth?response_type=code&client_id=1092544297479617&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Ffacebook%2Fcallback.html&scope=email&state=1', 'topFrame', 'height=600,width=1020,top=100,left=100,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no');
    }
</script>
</html>